<?php
namespace App\Module\User\Request\Login;

use Hyperf\Validation\Request\FormRequest;

class LoginRequest extends FormRequest{

    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'code'=>'required',
            'encrypted_data'=>'required',
            'iv'=>'required',
        ];
    }
}